package Correction.Gain;

import Correction.RangingCorrectionPolynomes_t;

public class RangingCorrectionSF7BW1600 {
    private static double[] cer = {
            2.8727e-10,
            -1.3583e-07,
            1.9766e-05,
            -0.0010869,
            0.019294,
            0.8705,
            0.64863,
    };
    private static RangingCorrectionPolynomes_t polynomes_t = new RangingCorrectionPolynomes_t(7,cer);
    public static RangingCorrectionPolynomes_t getPolynomes_t()
    {
        return polynomes_t;
    }
    private static double[] array =
            {
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -1.7225,
                    -0.94433,
                    0.016971,
                    0.57773,
                    1.1385,
                    1.5047,
                    1.6649,
                    1.6535,
                    1.5963,
                    1.8022,
                    1.5963,
                    1.5161,
                    1.5963,
                    1.4818,
                    1.5963,
                    1.2529,
                    1.4132,
                    1.2987,
                    1.3903,
                    1.3788,
                    1.3674,
                    1.2987,
                    1.4818,
                    1.3903,
                    1.4589,
                    1.3903,
                    1.4818,
                    1.4475,
                    1.5505,
                    1.5505,
                    1.436,
                    1.4818,
                    1.5505,
                    1.6191,
                    1.5276,
                    1.6649,
                    1.7336,
                    1.5734,
                    1.6191,
                    1.7107,
                    1.5734,
                    1.7336,
                    1.5963,
                    1.642,
                    2.2371,
                    3.702,
                    3.6791,
                    3.4731,
                    3.5418,
                    3.4502,
                    3.5189,
                    3.5875,
                    3.5646,
                    3.5418,
                    3.4273,
                    3.4273,
                    3.6562,
                    3.599,
                    3.6333,
                    4.4802,
                    5.2469,
                    5.0981,
                    4.8693,
                    5.4415,
                    6.1968,
                    6.5859,
                    6.6545,
                    6.5172,
                    6.5401,
                    6.769,
                    7.4327,
                    7.0665,
                    7.0894,
                    7.2039,
                    7.0208,
                    7.3412,
                    7.4556,
                    7.387,
                    7.6387,
                    7.9592,
                    8.0164,
                    8.1423,
                    7.8447,
                    8.2796,
                    8.4398,
                    8.5543,
                    8.4398,
                    8.7145,
                    8.9891,
                    8.6458,
                    8.6916,
                    8.6687,
                    8.6229,
                    8.7603,
                    8.8747,
                    8.7374,
                    8.6687,
                    8.5772,
                    8.5543,
                    8.5543,
                    8.4856,
                    8.4627,
                    8.7145,
                    8.806,
                    8.7603,
                    7.3412,
                    8.0965,
                    4.2284,
                    16.3248,
                    16.5422,
                    16.5422,
                    15.9471,
                    16.1989,
                    15.8785,
                    15.558,
                    15.558,
                    15.558,
                    15.558,
                    15.558,
                    15.558,
                    15.558,
                    15.558,
                    15.558,
            };
    public static double run(int gain)
    {
        return array[gain];
    }
}
